package com.fzh.pojo.entity;

public class Comment {
    private Integer id;

    private Integer userid;

    private Integer pdtid;

    private String cmtime;

    private Integer cmrating;

    private String cmcontext;

    private String cmreply;

    private String replytime;

    private String ext1;

    private String ext2;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getPdtid() {
        return pdtid;
    }

    public void setPdtid(Integer pdtid) {
        this.pdtid = pdtid;
    }

    public String getCmtime() {
        return cmtime;
    }

    public void setCmtime(String cmtime) {
        this.cmtime = cmtime;
    }

    public Integer getCmrating() {
        return cmrating;
    }

    public void setCmrating(Integer cmrating) {
        this.cmrating = cmrating;
    }

    public String getCmcontext() {
        return cmcontext;
    }

    public void setCmcontext(String cmcontext) {
        this.cmcontext = cmcontext == null ? null : cmcontext.trim();
    }

    public String getCmreply() {
        return cmreply;
    }

    public void setCmreply(String cmreply) {
        this.cmreply = cmreply == null ? null : cmreply.trim();
    }

    public String getReplytime() {
        return replytime;
    }

    public void setReplytime(String replytime) {
        this.replytime = replytime;
    }

    public String getExt1() {
        return ext1;
    }

    public void setExt1(String ext1) {
        this.ext1 = ext1 == null ? null : ext1.trim();
    }

    public String getExt2() {
        return ext2;
    }

    public void setExt2(String ext2) {
        this.ext2 = ext2 == null ? null : ext2.trim();
    }

	public Comment(Integer id, Integer userid, Integer pdtid, String cmtime, Integer cmrating, String cmcontext,
			String cmreply, String replytime, String ext1, String ext2) {
		super();
		this.id = id;
		this.userid = userid;
		this.pdtid = pdtid;
		this.cmtime = cmtime;
		this.cmrating = cmrating;
		this.cmcontext = cmcontext;
		this.cmreply = cmreply;
		this.replytime = replytime;
		this.ext1 = ext1;
		this.ext2 = ext2;
	}

	public Comment(Integer id, Integer userid, Integer pdtid, String cmtime, Integer cmrating, String cmcontext,
			String cmreply, String replytime) {
		super();
		this.id = id;
		this.userid = userid;
		this.pdtid = pdtid;
		this.cmtime = cmtime;
		this.cmrating = cmrating;
		this.cmcontext = cmcontext;
		this.cmreply = cmreply;
		this.replytime = replytime;
	}

	public Comment() {
		super();
	}

	@Override
	public String toString() {
		return "Comment [id=" + id + ", userid=" + userid + ", pdtid=" + pdtid + ", cmtime=" + cmtime + ", cmrating="
				+ cmrating + ", cmcontext=" + cmcontext + ", cmreply=" + cmreply + ", replytime=" + replytime
				+ ", ext1=" + ext1 + ", ext2=" + ext2 + "]";
	}
    
    
}